From: Jonas Dreßler Date: Sun, 8 Sep 2019 16:09:23 +0000 (+0200) Subject: iconGrid: Delete private child property when removing child X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~156 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4915a9e8e404555379aa8807ad8c53c7589f2ae7;p=gnome-shell.git iconGrid: Delete private child property when removing child Delete a private property we set when the child got added to make sure the reference is deleted after the child got removed from the grid. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/704 --- diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index e0a1e8bd8..08d72aff1 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -251,6 +251,7 @@ var IconGrid = GObject.registerClass({ _childRemoved(grid, child) { child.disconnect(child._iconGridKeyFocusInId); + delete child._iconGridKeyFocusInId; } vfunc_get_preferred_width(_forHeight) {